# -*- encoding: utf8 -*-
from app import create_app
from config.configure import *
import sys
reload(sys)
sys.setdefaultencoding('utf-8')

app = create_app()

if __name__ == '__main__':
    app.run(debug=not SERVICE_ONLINE, host=SERVICE_ADDR, port=SERVICE_PORT)
